package org.hong.monkey.network.server;

import org.hong.monkey.network.protocol.Message;

public abstract class MessageHandler<T extends Message> {
    public abstract void handle(T message) throws Exception;
    public abstract void exceptionCaught(Throwable cause);
    public abstract void channelUnregistered();
}
